package pei.lei.lostandfound.service;


import pei.lei.lostandfound.base.page.PageList;
import pei.lei.lostandfound.base.service.BaseService;
import pei.lei.lostandfound.dto.NoticeDTO;
import pei.lei.lostandfound.entity.Notice;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Zhang
 * @since 2021-01-18
 */
public interface NoticeService extends BaseService<Notice> {


    //模糊查询
    public List<NoticeDTO> FuzzyQuery(String message);


    //查询可看公告
    public PageList<NoticeDTO> getNewNotice(int pageNum, int pageSize);
}
